<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title> machineTaskName </title>
</head>
<body>
	<form action="${pageContext.request.contextPath }/machine/selectTaskName.action" method="get">
		根据任务名查找：
		<table width="100%" border=1>
		<tr>
			<td>任务名</td>
			<td>1 水</td>
			<td>2 电</td>
			<td>3 煤气</td>
			<td>4 天然气</td>
			<td>5 火能 </td>
		</tr>
		<c:forEach items="${machineTaskName}" var="task" >
		<tr>
			<td>${task[0]}</td>
			<td>${task[1]}</td>
			<td>${task[2]}</td>
			<td>${task[3]}</td>
			<td>${task[4]}</td>
		</tr>
		</c:forEach>
	</table>
</form>
</body>
</html>